home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS04.ADF / image.ed / imageedit.h < prev    next >
C/C++ Source or Header  |  1985-10-26  |  1KB  |  44 lines

  1.  
  2. /************* imageedit.h ***************/
  3.  
  4.  
  5. #include <exec/types.h>
  6.  
  7. #define DEPTH 4         /* temporary limit only */
  8.  
  9.  
  10. #define EDITLEFT 4
  11. #define EDITRIGHT 324   /* half a screen, means 80 pixels wide max */
  12. #define EDITTOP 12
  13. #define EDITBOTTOM 180  /* maximum 42 pixels tall for current rev. */
  14. #define MAXVIEWS 9
  15. #define BOBDEPTH 4
  16. #define FRAMEWIDTH 80
  17. #define FRAMEHEIGHT 42
  18. #define getc() Read(stdin, c, 2)
  19. #define TXHEIGHT 8
  20.  
  21. struct frame {
  22.         SHORT xmin, ymin;
  23.         SHORT xmax, ymax;
  24.         struct BitMap bitmap;
  25.         };
  26.  
  27. #define qr(r,rl,rh) ((r >= rl && r <= rh) ? 1 : 0 )
  28.  
  29.                 /* starting gadget number for gadget id's */
  30.  
  31. #define MOVEGADGETS 0x0         /* move within frame */
  32. #define COLORGADGETS 0x10       /* for changing up to 32 colors */
  33.                                 /* also includes proportional gadgets, and
  34.                                  * boolean in the system colors requester */
  35. #define TEXTCOLORGADGETS 0x30   /* for text primary color (up to 32) */
  36. #define TEXTWRITEGADGETS 0x50   /* string, prop, and three boolean */
  37. #define DISKRWGADGETS   0x60    /* string, bool, some error handling  */
  38.  
  39. #define SCROLLGADGETS 0x68
  40. #define RECONFIGGADGETS 0x70
  41. #define HELPGADGETS 0x90
  42. #define EXITGADGETS 0x98
  43.  
  44.